home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BCI NET
/
BCI NET Dec 94.iso
/
archives
/
telecomm
/
bbs
/
eazybbs-2.17.lha
/
EazyBBS
/
Source
/
unspace.c
< prev
Wrap
C/C++ Source or Header
|
1994-09-09
|
442b
|
33 lines
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <proto/dos.h>
#include <proto/exec.h>
#define VERSION "1.1"
static char *version = "\0$VER: unspace " VERSION " (" __AMIGADATE__ ")";
int main(int argc, char *argv[])
{
int i;
for (i = 1; i < argc; ++i) {
char *s = argv[i];
while (*s) {
if (*s == ' ')
putchar('_');
else
putchar(*s);
++s;
}
putchar('\n');
}
exit(0);
}